<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>讲师管理系统</title>
	<link href="../assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">

	<!--[if lt IE 9]>
	<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
	<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<style>
		.layout{
			width:80%;
			margin:100px auto;
		}
	</style>
</head>
<body>
<div class="layout">
	<a data-toggle="modal" data-target="#teawindowId" href="javascript:;" class="glyphicon glyphicon-plus
 btn btn-success">添加讲师</a>
	<div class="modal fade" id="teawindowId" tabindex="-1" role="dialog">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
					<h4 class="modal-title">添加计量</h4>
				</div>
				<div class="modal-body">
					<form id="teacherForm">
						<div class="form-group">
							<label>讲师姓名</label>
							<input type="text" name="username" class="form-control" id="username" placeholder="讲师姓名">
						</div>
						<div class="form-group">
							<label>年龄</label>
							<input type="email" class="form-control" name="age" id="age" placeholder="年龄">
						</div>
						<div class="form-group">
							<label >所属学科</label>
							<input type="email" class="form-control" name="lesson" id="lesson" placeholder="所属学科">
						</div>
						<div class="form-group">
							<label >描述</label>
							<input type="email" class="form-control" name="desc" id="desc" placeholder="描述">
						</div>
						<div class="form-group">
							<label >照片</label>
							<input type="file" id="lifePhoto" name="lifePhoto" data-url="../api/teacherupload.php">
							<p class="help-block">Example block-level help text here.</p>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary btn-addTeacher">确定</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
</div>




<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="../assets/jQueryfileupload/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="../assets/bootstrap/js/bootstrap.min.js"></script>
<script src="../assets/jQueryfileupload/jquery.ui.widget.js"></script>
<script src="../assets/jQueryfileupload/jquery.iframe-transport.js"></script>
<script src="../assets/jQueryfileupload/jquery.fileupload.js"></script>
<script src="./js/teacher.js"></script>
</body>
</html>